/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.infor.entity.Truck;
import com.jeeplus.modules.infor.mapper.TruckMapper;

/**
 * 车辆Service
 * @author 李超辉
 * @version 2017-11-23
 */
@Service
@Transactional(readOnly = true)
public class TruckService extends CrudService<TruckMapper, Truck> {

	public Truck get(String id) {
		return super.get(id);
	}
	
	public List<Truck> findList(Truck truck) {
		return super.findList(truck);
	}
	
	public Page<Truck> findPage(Page<Truck> page, Truck truck) {
		return super.findPage(page, truck);
	}
	
	@Transactional(readOnly = false)
	public void save(Truck truck) {
		super.save(truck);
	}
	
	@Transactional(readOnly = false)
	public void delete(Truck truck) {
		super.delete(truck);
	}
	
}